//
//  AnswerDetailTwoModel.m
//  OnionHome
//
//  Created by fengjie on 2019/9/28.
//  Copyright © 2019 FengJie. All rights reserved.
//

#import "AnswerDetailTwoModel.h"

@implementation AnswerDetailTwoModel
-(void)setComArray:(NSMutableArray *)comArray{
    _comArray = comArray;
    if (comArray.count > 0 ) {
        self.modelArray = [NSMutableArray array];
        [comArray enumerateObjectsUsingBlock:^(NSDictionary * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
            UserCommentsModel *model = [UserCommentsModel new];
            [model setValuesForKeysWithDictionary:obj];
            [self.modelArray addObject:model];
        }];
    }
}
@end


